$fontSize_14: 0.8vw;
$fontSize_16: 0.9vw;
$fontSize_18: 1vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.26vw;
$fontSize_28: 1.3vw;
$fontSize_32: 1.4vw;
$fontSize_36: 1.8vw;
$fontSize_40: 2.1vw;
$fontSize_48: 2.5vw;
$fontSize_50: 2.6vw;
$fontSize_54: 2.7vw;
$fontSize_64: 3.2vw;
$fontSize_70: 3.5vw;
$fontSize_90: 4.5vw;
$fontSize_100: 5vw;
$fontSize_200: 10vw;
$f: 19.2;

.home {
  position: relative;
  width: 100%;
  padding-top: 7vw;
.main{
  overflow: hidden;
}
  .bg_shape {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 50vh;
    opacity: .5;

    img {
      width: 100%;
      object-fit: contain;
    }
  }

  .dialog {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 100;
    background: rgba(0, 0, 0, 0.60);
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;

    .content {
      position: relative;

      .s {
        img {
          width: 900/$f+vw;
          object-fit: contain;
        }
      }

      .close {
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-100%);
        cursor: pointer;

        img {
          width: 2vw;
          min-width: 20px;
        }
      }

      .mc {
        position: absolute;
        left: 15%;
        top: 12%;
        width: 63%;

        .t {
          color: #FFF;
          font-size: $fontSize_48;
          font-style: italic;
          text-align: center;
        }

        .des {
          margin: 1vw 0;
          line-height: 1.5;

          p {
            color: #FFF;
            font-size: $fontSize_24;
            font-style: italic;
            text-indent: $fontSize_24;
          }
        }

        .icons {
          display: flex;

          a {
            margin-right: 10px;

            svg {
              width: 24/$f+vw;
              min-width: 16px;
            }
          }
        }
      }
    }
  }

  .section1 {
    height: 186px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .title {
      position: relative;
      display: inline-block;

      img {
        width: 540/$f+vw;
      }

      p {
        position: absolute;
        color: #FFF;
        font-size: 48/$f+vw;
        font-weight: bold;
        right: 18%;
        top: 25%;
        text-transform: uppercase;
      }

      &.on{
        p{
            font-size: 1.66vw;
            white-space: nowrap;
            right: 5%;
            top: 32%;
        }
      }
    }

    .rpic {
        position: relative;
  
        .pic1 {
          img {
            width: 310/$f+vw;
          }
        }
  
        .pic2 {
          position: absolute;
          right: 0;
          top: 30%;
  
          img {
            width: 150/$f+vw;
          }
        }
      }
  }

  .section2{
    position: relative;
    z-index: 1;
    .tp1{
        position: absolute;
        width: 1920/$f+vw;
        height: 56/$f+vw;
        bottom: 626/$f+vw;
        z-index: -1;
    }
    .tp2{
        position: absolute;
        z-index: -1;
        bottom: 187/$f+vw;
        left: 0;
        width: 1920/$f+vw;
    }
    .wrap{
        width: 1100/$f+vw;
        margin: auto;
        .title{
            margin: 0 0 60/$f+vw;
            h1{
                font-size: 16/$f+vw;
                color: #000;
                font-weight: bold;
                margin: 0 0 27/$f+vw;
            }
            p{
                font-size: 16/$f+vw;
                color: #000;
            }
            .red{
                margin: 27/$f+vw 0 0 0;
                font-size: 16/$f+vw;
                color: #F00;
            }
        }
        .content{
            width: 778/$f+vw;
            margin: auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            .list{
                width: 100%;
                margin: 0 0 30/$f+vw;
                &>p{
                    font-size: 18/$f+vw;
                    color: #000;
                    font-weight: bold;
                    strong{
                        font-weight: normal;
                        color: #F00;
                        margin: 0 0 0 3/$f+vw;
                    }
                }
                input{
                    height: 41/$f+vw;
                    width: 100%;
                    border: none;
                    background-color: transparent;
                    border-bottom: 1px solid #000;
                    font-size: 18/$f+vw;
                    color: #000;
                }
                textarea{
                    border: 1px solid #000;
                    height: 217px;
                    width: 100%;
                    padding: 10/$f+vw;
                    font-size: 18/$f+vw;
                    color: #000;
                    width: calc(100% - 1.04vw);
                    margin: 18px 0 0 0;
                    resize: none;
                    font-family: inherit;
                }
                &.on{
                    width: 346/$f+vw;
                }
                &.yzm{
                    display: flex;
                    align-items: center;
                    input{
                        width: 229/$f+vw;
                    }
                    img{
                        margin: 0 0 0 29/$f+vw;
                        width: 165/$f+vw;
                    }

                  #canvas{
                    width: 120px!important;
                  }

                }
                .choice{
                    border-bottom: 1px solid #000;
                    padding: 0 16/$f+vw 17/$f+vw 16/$f+vw;
                    margin: 21/$f+vw 0 0 0;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    box-sizing: border-box;
                    position: relative;
                    p{
                        font-weight: 500;
                        font-size: 16/$f+vw;
                        color: #000;
                    }
                    .jt{
                        border-left: 8/$f+vw solid transparent;
                        border-right: 8/$f+vw solid transparent;
                        border-top: 12/$f+vw solid #000;
                    }
                }
                .click{
                    margin: 30/$f+vw 0 0 0;
                    display: flex;
                    justify-content: space-between;
                    .list_{
                        display: flex;
                        align-items: center;
                        cursor: pointer;
                        .border{
                            width: 21/$f+vw;
                            height: 21/$f+vw;
                            border-radius: 6/$f+vw;
                            border: 1px solid #000;
                            margin: 0 16/$f+vw 0 0;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            transition: .3s;
                            svg{
                                path{
                                    fill: #fff;
                                    opacity: 0;
                                    transition: .3s;
                                }
                            }
                            &.on{
                                background-color: #000;
                                svg{
                                    path{
                                        opacity: 1;
                                    }
                                }
                            }
                        }
                        p{
                            font-size: 16/$f+vw;
                            color: #000;
                        }
                    }
                }

            }
          .flex_cut{
            width: 100%;
            .flex_list{
              display: none;
              &.on{
                display: block;
              }
            }
          }
            button{
                width: 100%;
              padding: 1.5vw 0;
                background-color: #000;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 20/$f+vw;
                color: #fff;
                border: none;
                cursor: pointer;
                margin: 48/$f+vw 0 120/$f+vw 0;
              font-weight:bold;
              letter-spacing: 2px;
              transition: all 600ms;
              &:hover{
                background-color: #FF8080;
                border-color: #FF8080;
              }
            }
        }
    }
  }


  .down_pull {
    position: relative;
}

.down_pull .pull {
    position: absolute;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    width: 100%;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-height: 250px;
    overflow: hidden;
    overflow-y: scroll;
    top: 100%;
    left: 0;
}

.down_pull .pull.on {
    transition: ease .3s;
    opacity: 1;
    transform: translateY(10px);
    pointer-events: auto;
}

.down_pull .pull::-webkit-scrollbar {
    width: 0;
}

.down_pull .pull p {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 0 0 15px;
    cursor: pointer;
    font-size: 14px;
    transition: ease .3s;
    color: #111;
}

.down_pull .pull p:hover {
    background: var(--background);
    color: #fff !important;
}

.down_pull .pull p.on {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #111 !important;
    pointer-events: none;
}



  @media screen and (max-width: 1024px) {
    padding-top: 80px;
    .section1{
        height: auto;
      .title{
        img{
          width: 160px;
        }
        p{
          font-size: 12px;
        }
        &.on{
            p{
                font-size: 9px;
            }
        }
      }
    }

    .section2{
        .wrap{
            width: 90%;
            .title{
                margin: 0 0 24px;
                h1{
                    font-size: 16px;
                    margin: 0 0 25px;
                }
                p{
                    font-size: 16px;
                    line-height: 1.3;
                }
                .red{
                    font-size: 16px;
                    margin: 25px 0 0 0;
                }
            }
            .content{
                width: 100%;
                .list{
                    width: 100% !important;
                    margin: 0 0 35px !important;
                    &>p{
                        font-size: 16px;
                    }
                    input{
                        height: 35px;
                        font-size: 16px;
                    }

                  textarea{
                    font-size: 16px;
                    padding: 15px;
                    box-sizing: border-box;
                    width: 100%;

                  }
                   
                    .choice {
                        margin: 15px 0 0 0;
                        padding: 0 0 15px;
                        p{
                            font-size: 16px;
                        }
                        .txt{
                            font-size: 16px;
                        }
                        .jt{
                            border-left: 8px solid transparent;
                            border-right: 8px solid transparent;
                            border-top: 12px solid #000;
                        }
                    }
                    .click{
                        margin: 15px 0 0 0;
                        flex-wrap: wrap;
                        display: grid;
                        grid-template-columns: repeat(3,1fr);
                        gap: 10px 20px;
                        .list_{
                            .border{
                                width: 18px;
                                height: 18px;
                                margin: 0 7px 0 0;
                                border-radius: 5px;
                            }
                            p{
                                font-size: 14px;
                            }
                        }
                    }
                    &.yzm {
                        input{
                            width: 40%;
                        }
                        img{
                            width: 140px;
                            margin: 0 0 0 10px;
                        }
                    }
                }
                button{
                    height: 45px;
                    font-size: 16px;
                }
            }
        }
    }


  } 
}